package com.kkshop.gwt.i18n;

import com.google.gwt.core.client.GWT;
import com.google.gwt.i18n.client.Messages;

public interface Errors extends Messages {

    public static class ErrorsHelper {
        
        private static ErrorsHelper instance;
        
        public static ErrorsHelper getInstance() {
            if(instance == null) {
                instance = new ErrorsHelper();
            }
            return instance;
        }
        
        public Errors getResources() {
            return (Errors) GWT.create(Errors.class);
        }
    }
}
